//
// Created by ap on 2021/5/21.
//

#ifndef JNICALLBACKTEST_JNITESTER_H
#define JNICALLBACKTEST_JNITESTER_H

#endif //JNICALLBACKTEST_JNITESTER_H

#include <jni.h>

class JniTester {
public:
    JniTester();

    void SetAndroidEnv(JNIEnv *env, jobject obj);

    void getThreadResult();

    void onResultCallback(int result);
private:
    JavaVM *f_jvm;
    jclass f_cls;
    jobject f_obj;
};
